FROM mysql:8.0.39
MAINTAINER MONSTER_YUAN

ENV MYSQL_ROOT_PASSWORD root

COPY ./conf/my.cnf /etc/mysql/my.cnf

#挂在卷
VOLUME /var/lib/mysql

EXPOSE 3306